package com.hmall.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hmall.order.pojo.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description OrderDetail
 * @Author qqq
 * @Date 2024-11-15
 */
@Mapper
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    @Select("select * from mall_db_order.tb_order_detail where order_id=#{orderId}")
    OrderDetail findByOrderId(Long orderId);
}
